The measure, a mostly symbolic gesture, lost by a single vote in the closely-divided House of Representatives.